<%@ page language="java" pageEncoding="ISO-8859-1"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<h2>Generar Lista de Solicitudes</h2>

<h5><span class="error"></span></h5>
<form action="../../generaexcel" method="post">
	<fieldset><legend>Par&aacute;metros</legend>
		<table width="100%">
		  <tr height="7px"/>	
		  <tr align="center">
		    <td style="width: 41%;text-align: right;font-size: 15px;font-style: normal;">
		    	<label>Fecha inicio: </label>
		    </td>
		    <td class="colDer">
		    	<!-- <input id="f_date1" />-->
		    	<input id="f_date1" type="text" style="fechaInicio" name="fechaInicio" maxlength="10" /><button id="f_btn1">...</button>
		    </td>
		  </tr>
		  <tr>
		  	<td class="colIzq">
		    	<label>Fecha fin: </label>
		    </td>
		    <td class="colDer">
		    	<!--<input id="f_date2" />-->
		    	<input id="f_date2" type="text" name="fechaFin" maxlength="10" /><button id="f_btn2">...</button>
		    </td>
		  </tr>
		  <tr height="7px"/>
		  <tr>
		  	<td width="100%" colspan="4"><br/>
		  		<div align="center">
			  		<html:submit value="GENERAR" ></html:submit>
		    	</div>
		  	</td>
		  </tr>
		  <tr height="7px"/>
		</table>
	
		
		
	</fieldset>
	<br/>
	<br/>

	<br/>
	<!--div align="center">
		<html:submit property="boton" value="CANCELAR"/>
	</div-->
</form>

<script type="text/javascript">//<![CDATA[
      var cal = Calendar.setup({
          onSelect: function(cal) { cal.hide() },
          showTime: false
      });
      cal.manageFields("f_btn1", "f_date1", "%Y-%m-%d");
      cal.manageFields("f_btn2", "f_date2", "%Y-%m-%d");
//]]></script>